<html>
  <head>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
    <link rel="icon" href="data:;base64,iVBORw0KGgo=" />
    <title>Oak Sandboxed Page</title>
    <style>
      body {
        min-height: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
      }
      iframe {
        flex-grow: 1;
        border: none;
      }
    </style>
  </head>

  <body>
    <iframe sandbox="allow-scripts"></iframe>
    <script>
      const src = new URLSearchParams(window.location.search).get('src');
      document.querySelector('iframe').setAttribute('srcdoc', src);
    </script>
  </body>
</html>
